<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-autowire="byName">
    <bean id="acegiCacheManager" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean" abstract="false">
        <property name="transactionManager">
        	<ref bean="transactionManager"/>
        </property>
        <property name="proxyTargetClass">
        	<value>true</value>
        </property>
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.AcegiCacheManager"/>
        </property>
        <property name="transactionAttributes">
            <props>
                <prop key="modify*">PROPAGATION_REQUIRED</prop>
                <prop key="auth*">PROPAGATION_REQUIRED</prop>
                <prop key="init*">PROPAGATION_REQUIRED,readOnly</prop>
                <prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
                <prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
                <prop key="delete*">PROPAGATION_REQUIRED,readOnly</prop>
            </props>
        </property>
    </bean>

	<bean id="userAreaManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.UserAreaManager"/>
        </property>
    </bean>
	
	<bean id="areaAdminManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.AreaAdminManager"/>
        </property>
    </bean>
    
    <bean id="userAreaDeptManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.UserAreaDeptManager"/>
        </property>
    </bean>
    
    <bean id="areaManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.AreaManager"/>
        </property>
    </bean>
    
    <bean id="permissionManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.PermissionManager"/>
        </property>
    </bean>

    <bean id="resourceManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.ResourceManager"/>
        </property>
    </bean>

    <bean id="roleManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.RoleManager"/>
        </property>
    </bean>

    <bean id="userManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.UserManager"/>
        </property>

    </bean>
    
    
     <!--linlian 2012-4-9独立一个cache配件文件居然报错，现在只能写在这个配置文件中， 自建一个HeaderCache以存放导航数据 -->
    <bean id="headerCacheBackend" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
        <property name="cacheManager">
        	<ref bean="cacheManager"/>
        </property>
        <property name="cacheName">
        	<value>headerCache</value>
        </property>
        <property name="maxElementsInMemory">
        	<value>2048</value>
        </property>
        <property name="eternal">
        	<value>true</value>
        </property>
        <property name="overflowToDisk">
        	<value>true</value>
        </property>
    </bean>

    <bean id="headerCache" class="cn.firstsoft.firstframe.plugins.cache.HeaderCache"  autowire="byName">
        <property name="cache">
        	<ref local="headerCacheBackend"/>
        </property>
    </bean>
    
    
    
    

    <bean id="deptManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.DeptManager"/>
        </property>
    </bean>

    <bean id="dictManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.DictManager"/>
        </property>
    </bean>

    <bean id="dutyManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.DutyManager"/>
        </property>
    </bean>

    <bean id="dtreeManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.DtreeManager"/>
        </property>
    </bean>

	<bean id="userDreeManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.UserDreeManager"/>
        </property>
    </bean>

	<bean id="menuManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.MenuManager"/>
        </property>
    </bean>

	<bean id="moduleManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.ModuleManager"/>
        </property>
    </bean>

    <bean id="labelManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.LabelManager"/>
        </property>
    </bean>

	<bean id="systemLogManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemLogManager"/>
        </property>
    </bean>

    <bean id="systemConfigManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemConfigManager"/>
        </property>
    </bean>

    <bean id="systemPositiontypeManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemPositiontypeManager"/>
        </property>
    </bean>

    <bean id="systemHierarchyManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemHierarchyManager"/>
        </property>
    </bean>

    <bean id="systemPositionManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemPositionManager">
            	<property name="databaseType">
            		<!-- 根据hibernate方言的设置判断数据库 -->
            		<value>${hibernate.dialect}</value>
            	</property>
            </bean>
        </property>
    </bean>

    <bean id="systemPositionhierarchyManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemPositionhierarchyManager">
            <property name="databaseType">
            		<!-- 根据hibernate方言的设置判断数据库 -->
            		<value>${hibernate.dialect}</value>
           	</property>
           </bean>
        </property>
    </bean>

	<bean id="systemPositionmemberManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemPositionmemberManager"/>
        </property>
    </bean>

    <bean id="systemDictionaryManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemDictionaryManager"/>
        </property>
    </bean>

     <bean id="portletManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.PortletManager"/>
        </property>
    </bean>

    <bean id="systemWorkhourManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemWorkhourManager"/>
        </property>
    </bean>

    <bean id="systemWorkdayManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemWorkdayManager"/>
        </property>
    </bean>

    <bean id="securitySettingsManager" parent="baseTxService">
    	<property name="target">
    		<bean class="org.springside.modules.security.service.logic.SecuritySettingsManager" />
    	</property>
    </bean>

      <!-- 批量导入基础数据 add by luopingping  -->
     <bean id="baseDataManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.BaseDataManager"/>
        </property>
    </bean>

    <bean id="baseParamManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.BaseParamManager"/>
        </property>
    </bean>

     <bean id="systemLogoManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemLogoManager"/>
        </property>
    </bean>
    
    	<bean id="integratSysConfManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.IntegratSysConfManager"/>
        </property>
    </bean>
    
    <bean id="integratSysBaseInfoManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.IntegratSysBaseInfoManager"/>
        </property>
    </bean>
     <!-- RMP:R111028-0341 DMP:PT057448 dexiang_lei 门户图表  begin -->
    <!-- hanyou for dynamic chart -->
    <bean id="portletChartTypeManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.PortletChartTypeManager"/>
        </property>
    </bean>

  <bean id="portletChartDefinitionManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.PortletChartDefinitionManager"/>
        </property>
    </bean>
    
    <bean id="simpleChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.SimpleChartStrategy"/>
        </property>
    </bean>
    
    <bean id="multiSeriresChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.MultiSeriresChartStrategy"/>
        </property>
    </bean>
    
     <bean id="angularChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.AngularChartStrategy"/>
        </property>
    </bean>
    
    <bean id="funnelChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.FunnelChartStrategy"/>
        </property>
    </bean>
    
    <bean id="pyramidChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.PyramidChartStrategy"/>
        </property>
    </bean>
    
    <bean id="stackedChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.StackedChartStrategy"/>
        </property>
    </bean>
    
    <bean id="scrollChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.ScrollChartStrategy"/>
        </property>
    </bean>
    
    <bean id="linearGaugesChartStrategy" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.strategic.LinearGaugesChartStrategy"/>
        </property>
    </bean>
     <!-- RMP:R111028-0341 DMP:PT057448 dexiang_lei 门户图表   end-->
     
     <bean id="systemLoginThemeManager" parent="baseTxService">
        <property name="target">
            <bean class="org.springside.modules.security.service.logic.SystemLoginThemeManager"/>
        </property>
    </bean>
</beans>
